-
Notifications
You must be signed in to change notification settings - Fork 2.1k
docs: Added examples for cli flags usage #2713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Omswastik-11 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @Omswastik-11! |
Thanks! Overall LGTM! Only few comments on markdown format https://github.com/kubernetes/kube-state-metrics/blob/6a99244f508ca25e122232bb352cc29a69231c6f/docs/developer/cli-arguments.md |
/triage accepted |
Hi @CatherineF-dev !! Can you review it now ? I made changes as you suggested. |
What this PR does / why we need it ?
Adds CLI examples for various flag types (bool, int, string, duration, list), including the previously undocumented --metric-labels-allowlist. Without these examples users can miss important configuration options (see issue #2043).
How does this change affect the cardinality of KSM ?
No effect on KSM functionality or metric cardinality—it’s purely a docs enhancement.
Which issue(s) this PR fixes ?
Fixes #2043